/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package devicedbgui.data;

public class TestCaseDetails {
    /** Stores statement tested */
    public String statement;
     /* Stores failure count */
    public int numberOfFailed;
     /* Stores success count */
    public int numberOfPassed;
    /** Default constructor for class TestCaseDetails */
    public TestCaseDetails(){}
     /** Constructor: initialises all components of class */
    public TestCaseDetails(String statement,
        int numberOfFailed,
        int numberOfPassed){
        this.statement = statement;
        this.numberOfFailed = numberOfFailed;
        this.numberOfPassed = numberOfPassed;
    }
    /** Test equality of statements */
    public boolean equals(Object arg)
    {
        TestCaseDetails other = (TestCaseDetails)arg;
        return (this.statement.equals(other.statement));
    }
}
